package com.ijunfu.lambda._08_functional;

/**
 *
 * @Title  : 函数式编程
 * @Author : ijunfu <ijunfu@163.com>
 * @Date   : 2023/11/18 14:22
 * @Version: 1.0
 * @Motto  : 世界很大 世界很小
 *
 */
public class Main {

    public static void main(String[] args) {
        Thread t1 = new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("t1...");
            }
        });

        Thread t2 = new Thread(() -> System.out.println("t2..."));

        t1.start();
        t2.start();
    }
}
